import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/Home.vue'
import Category from '@/views/Category.vue'

Vue.use(Router)

export default new Router({
  routes: [{
    name: 'default',
    path: '/',
    redirect: { name: 'Home' }
  },
  {
    name: 'Home',
    path: '/home',
    component: Home
  },
  {
    name: 'Category',
    path: '/category',
    component: Category
  }
  ]

})
